![]() |
SetMenuItemRefCon2 |
||||
Header: | Menus.h | Carbon status: | Unsupported | |
Sets additional application-specific information for a menu item.
OSErr SetMenuItemRefCon2 ( MenuHandle inMenu, SInt16 inItem, UInt32 inRefCon2 );
A handle to the menu that contains the menu item for which you wish to set information.
An integer representing the item number of the menu item.
An unsigned 32-bit integer value. Pass a reference constant to associate with the menu item.
A result code.
If you have data you want to associate with a menu item in addition to that set with the SetMenuItemRefCon function, you can do so using the SetMenuItemRefCon2 function.
See also the function GetMenuItemRefCon2.
This function is aThis function is available with Appearance Manager 1.0 and later.
Not supported in Carbon. Not available in CarbonLib, but available when AppearanceLib 1.0 or later is installed. Exported by AppearanceLib 1.0 and later.
To associate data with a menu item in Carbon, you should instead use the Get/SetMenuItemProperty functions.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)